<section class="block-course-announcement<?php echo ( ($this->count%2 > 0) ? ' alternative' : ''); ?>">
    <section class="block-course-announcement-author-image-wrapper">
        <a href="<?php echo $this->baseUrl(); ?>/user/view/id/<?php echo $this->object->Author->Id; ?>">
            <img src="<?php echo $this->baseUrl().$this->object->Author->AvatarUrl; ?>" class="block-course-announcement-author-image" />
        </a>
    </section>
    
    <section class="block-course-announcement-title">
        <?php echo $this->object->Title; ?>
    </section>
    
    <section class="block-course-announcement-authorline">
        by
        <a href="<?php echo $this->baseUrl(); ?>/user/view/id/<?php echo $this->object->Author->Id; ?>">
            <?php echo $this->object->Author->Fullname; ?>
        </a>
        on
        <?php echo $this->object->CreationDate; ?>
    </section>
    
    <section class="block-course-announcement-body">
        <?php echo $this->object->Text; ?>
    </section>
</section>